package com.dhcc.sdc.base.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.dhcc.sdc.base.entity.ContraindicationItemRuleEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 禁忌症条目匹配规则
 *
 * @ClassName: ContraindicationItemRuleMapper
 * @Description: TODO
 * @author zhangjin
 * @date 2022-09-07 09:44:17
 */
public interface ContraindicationItemRuleMapper  extends BaseMapper<ContraindicationItemRuleEntity> {

    List<ContraindicationItemRuleEntity> list(@Param("map")Map<String, Object> map);
    List<ContraindicationItemRuleEntity> page(@Param("page") Page<ContraindicationItemRuleEntity> page,@Param("map")Map<String, Object> map);
    List<ContraindicationItemRuleEntity> selectByExpressions(@Param("ruleExpressions")List<String> ruleExpressions);

    List<String> selectCode(String expCode);
}
